.carousel{    //轮播最外层
  position: relative;
  width: 520px;
  height: 280px;
  margin: 0 auto;
  ul,ol{
    margin-top: 0;
    margin-bottom: 10px;
  }
  a{
    text-decoration: none;
    background: rgba(0,0,0,0);
  }
  .carousel-indicators{
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 15;
    width: 60%;
    padding-left: 0;
    margin-left: -30%;
    text-align: center;
    list-style: none;
    li{
      display: inline-block;
      width: 15px;
      height: 15px;
      margin: 1px;
      text-indent: -999px;
      cursor: pointer;
      background-color: #c6c6c6;
//      border: 1px solid #fff;
      border-radius: 15px;
      &.active{
//        width: 12px;
//        height: 12px;
//        margin: 0;
        background-color: #fbaa1d;
      }
    }
  }
  .carousel-inner{   //内部图片
    position: relative;
    width: 100%;
    overflow: hiddern;
    .item{
      position: relative;
      display: none;
      -webkit-transition: .6s ease-in-out left;
      transition: 1.6s ease-in-out left;
      img{
        display: block;
        height: auto;
        max-width: 100%;
        line-height: 1;
        vertical-align: middle;
        border: 0;
      }
      //图片底部，轮播指示器上面的图片文字介绍
      .carousel-caption{
        position: absolute;
        right: 15%;
        bottom: 30px;
        left: 15%;
        z-index: 10;
        padding-top: 20px;
        color: red;
        text-align: center;
        text-shadow: 0 1px 2px rgba(0,0,0,0.6);
      }
    }
    .active{
      left: 0;
    }
    .active,.next,.left{
      display: block;
    }


  }
  .carousel-control{
    position: absolute;
    top: 0;
    bottom: 0;
//    left: 0;
    width: 15%;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
//    opacity: .5;
    &.left{
      left: 0;
    }
    &.right{
      right: 0;
      left: auto;
    }
    .glyphicon-chevron-left {
      width: 30px;
      height: 50px;
      left: 0;
      position: absolute;
      top: 40%;
      z-index: 5;
      display: inline-block;
      background: url("./imgs/carousel-control.png") no-repeat 0 0;
      &:link,&:visited{
        background: url("./imgs/carousel-control.png") no-repeat 0 0;
      }
      &:active,&:focus,&:hover{
        background: url("./imgs/carousel-control.png") no-repeat 0 -100px;
      }
    }
    .glyphicon-chevron-right{
      width: 30px;
      height: 50px;
      right: 0;
      position: absolute;
      top: 40%;
      z-index: 5;
      display: inline-block;
      background: url("./imgs/carousel-control.png") no-repeat -100px 0;
      &:link,&:visited{
        background: url("./imgs/carousel-control.png") no-repeat -100px 0;
      }
      &:active,&:focus,&:hover{
        background: url("./imgs/carousel-control.png") no-repeat -100px -100px;
      }
    }
  }


}